package com.tcs.server.teacherrubric;

import com.tcs.dao.teacherrubric.ITeacherRubricDao;
import com.tcs.model.teacherrubric.TopicTypeDistBean;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service(value = "teacherRubricService")
public class TeacherRubricService implements ITeacherRubricService {

    @Resource(name = "iTeacherRubricDao")
    private ITeacherRubricDao iTeacherRubricDao;

    @Override
    public List<TopicTypeDistBean> querytopicTypeDistAll() {
        List<TopicTypeDistBean> topicTypeDistBeanList = iTeacherRubricDao.querytopicTypeDistAll();
        topicTypeDistBeanList.add(new TopicTypeDistBean("1","单项选择题"));
        return topicTypeDistBeanList;
    }
}
